From a7eb53a53f1325377df30ca069262b59a01cbbee Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 20 Mar 2009 10:37:12 +0000 Subject: [PATCH] xenstore: Don't hardcode install path Signed-off-by: Christoph Egger --- tools/xenstore/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile index c84505cc3c..91b854da90 100644 --- a/tools/xenstore/Makefile +++ b/tools/xenstore/Makefile @@ -97,9 +97,9 @@ install: all $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR) $(INSTALL_PROG) xenstored $(DESTDIR)$(SBINDIR) $(INSTALL_PROG) xenstore-control $(DESTDIR)$(BINDIR) - $(INSTALL_PROG) xenstore $(DESTDIR)/usr/bin + $(INSTALL_PROG) xenstore $(DESTDIR)$(BINDIR) set -e ; for c in $(CLIENTS) ; do \ - ln -f $(DESTDIR)/usr/bin/xenstore $(DESTDIR)/usr/bin/$${c} ; \ + ln -f $(DESTDIR)$(BINDIR)/xenstore $(DESTDIR)$(BINDIR)/$${c} ; \ done $(INSTALL_DIR) $(DESTDIR)$(LIBDIR) $(INSTALL_PROG) libxenstore.so.$(MAJOR).$(MINOR) $(DESTDIR)$(LIBDIR) -- 2.30.2